.loading {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loading div {
  margin: 10px 0;
}

/* HTML: <div class="loader"></div> */
.loader {
  margin-right: 10px;
  width: 36px;
  padding: 4px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #296dff;
  --_m: conic-gradient(#0000 10%, #000), linear-gradient(#000 0 0) content-box;
  -webkit-mask: var(--_m);
  mask: var(--_m);
  -webkit-mask-composite: source-out;
  mask-composite: subtract;
  animation: l3 1s infinite linear;
}

@keyframes l3 {
  to {
    transform: rotate(1turn);
  }
}
